<?php
class ActivityConf_getActivityNames {
	function getActivityNames($game) {
		$activityConf = MooConfig::get('activityconfig');
		if(!$activityConf) {
			return false;
		}
		
		$platConf = $activityConf['platConf'];
		$activity = $platConf[$game]['activity'];
		
		$activityName = array();
		foreach ($activity as $key => $val) {
			$activityName[] = $val['activityNameZh'];
		}
		
		return $activityName;
	}
}